<%@ Page Language="C#" MasterPageFile="~/MasterPage/CustomerMasterPage.master" AutoEventWireup="true" CodeFile="PlanView.aspx.cs" Inherits="CustomerPage_PlanView" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<center>
 <table style="width: 800px" >
        <tr>
            <td align="left" colspan="2" style="height: 22px">
                <asp:Label ID="lbProductName" runat="server" Text="Label" Font-Size="X-Large" ForeColor="Navy" Height="25px" Width="254px"></asp:Label></td>
        </tr>
     <tr>
         <td align="left" style="width: 157px; height: 22px">
         </td>
         <td align="left" style="width: 765px; height: 22px">
                <asp:Label ID="lbDescription" runat="server" Text="Label"></asp:Label><br />
             <br />
             <span style="color: #ff0033"><strong>SecurityDeposit</strong> : </span>
             <asp:Label ID="lbSecurityDeposit" runat="server" ForeColor="Red"></asp:Label>&nbsp;
             <span style="color: #ff0000">$<br />
             </span>
             <strong>
                 <br />
                 Plan Detail</strong></td>
     </tr>
        <tr>
            <td style="width: 157px;">
                </td>
            <td style="width: 765px;" valign="top">
    <asp:DataList ID="dlPlan" runat="server" OnItemDataBound="dlPlan_ItemDataBound" BorderColor="Black" BorderStyle="Dotted" BorderWidth="1px">
        <ItemTemplate>
            <table style="width: 699px; height: 80px">
                <tr>
                    <td colspan="2" style="height: 20px" align="left">
                        <asp:Label ID="Label1" runat="server" Font-Size="Large" ForeColor="#0000C0" Text='<%# Eval("planName") %>'
                            Width="185px"></asp:Label>
                        </td>
                </tr>
                <tr>
                    <td style="width: 54px;">
                    </td>
                    <td style="width: 252px; ">
                        <asp:DataList ID="dlPlanDetail" runat="server" Width="459px" OnItemCommand="dlPlanDetail_ItemCommand">
                            <ItemTemplate>
                                <table style="width: 445px">
                                    <tr>
                                        <td align="left" style="width: 139px; height: 26px;">
                                            *<asp:Label ID="lbPlanDetailName" runat="server" Text='<%# Eval("PlanDetailName") %>'></asp:Label></td>
                                        <td align="left" style="width: 220px; height: 26px;">
                                            <span style="color: #993300">
                                            - Price : </span>
                                            <asp:Label ID="Label3" runat="server" Text='<%# Eval("PlanDetailPrice") %>' ForeColor="#C00000"></asp:Label><span
                                                style="color: #993300"> $</span></td>
                                        <td align="left" style="width: 121px; height: 26px;">
                                            <asp:Button ID="Button1" runat="server" CommandArgument='<%#Eval("PlanDetailID") %>'
                                                Text="Order Now" CommandName="Order" /></td>
                                    </tr>
                                </table>
                                <asp:HiddenField ID="hfPlanName" runat="server" Value='<%# Eval("planName") %>' />
                                &nbsp;
                            </ItemTemplate>
                        </asp:DataList></td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList></td>
   </tr>
     <tr>
         <td style="width: 157px">
         </td>
         <td style="width: 765px" valign="top" align="left">
             <br />
             <strong>Equipment attached :<br />
             </strong>&nbsp;<asp:GridView ID="gvEquipment" runat="server" AutoGenerateColumns="False"
                 BorderColor="White" Font-Size="Large" ForeColor="Black">
                 <RowStyle BackColor="White" BorderColor="Navy" />
                 <Columns>
                     <asp:BoundField DataField="EquipmentName" HeaderText="Name" />
                     <asp:BoundField DataField="Amount" HeaderText="Amount" />
                 </Columns>
             </asp:GridView>
         </td>
     </tr>
</table>
    </center>
</asp:Content>

